package com.megalith.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2022/7/16
 * @Version 1.0
 */
@Data
@ApiModel(value = "CandidateUserDTO",description = "候选人用户DTO")
public class CandidateUserDTO {
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "姓",required = true)
    @NotBlank(message = "firstName 不能为空")
    private String firstName;

    @ApiModelProperty(value = "名",required = true)
    @NotBlank(message = "lastName 不能为空")
    private String lastName;

    @ApiModelProperty(value = "email")
    private String email;

    @ApiModelProperty(value = "password",required = true)
    @NotBlank(message = "password 不能为空")
    private String password;
}
